Observational study of different treatments and time to treatment